package com.springcloud.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

//import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


/**
 * Created by yangxiaodong on 2019/10/24.
 */
@SpringBootApplication
//@EnableEurekaClient
//@EnableDiscoveryClient
@EnableFeignClients("com.springcloud.consumer.service")
public class ConsumerApplication {

    public static void main(String[] args) {

        SpringApplication.run(ConsumerApplication.class,args);
    }
}
